using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ebclang.basics;

/*
 * Placeholders:
 *  ebcmassendaten: Name of application, e.g. MyApplication
 *  : Namespace of message type, e.g. typename Stopwatch.Start then Stopwatch
 *                            The file is placed in a subfolder with the name of the namespace
 *  Page: Name of message type without namespace, e.g. Start
 */

namespace ebcmassendaten.messages
{
    [Serializable]
    public class Page
    {
        public IEnumerable<Record> Records;

        #region Overrides
        public override string ToString()
        {
            // Change as needed:
            return string.Format("{0}", this.GetType().FullName);
        }

        public override bool Equals(object obj)
        {
            Page other = (Page)obj;

            // Change as needed:
            return this.GetHashCode() == other.GetHashCode();
        }
        #endregion
    }
}
